<?php
/**
 * Created by PhpStorm.
 * User: DongYao
 * Date: 2018/1/5
 * Time: 下午3:21
 */

namespace App\Support\OperationLog;


use Illuminate\Support\ServiceProvider;

class OperationLogServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->singleton(Log::class, function ($app) {
            return new Log();
        });
    }
}